﻿using System.Xml.Serialization;

namespace SelfService.HaiTai.Models.Appointment
{
    [XmlRoot("res")]
    public class DepartmentInfoResponse
    {
        [XmlElement("resultCode")]
        public string ResultCode { get; set; }
        [XmlElement("resultDesc")]
        public string ResultDesc { get; set; }

        [XmlElement("deptInfo")]
        public DepartmentInfo[] DeptInfo { get; set; }
    }

    /// <summary>
    /// HIS挂号部门信息
    /// </summary>
    public class DepartmentInfo
    {
        [XmlElement("deptId")]
        public string DeptId { get; set; }
        [XmlElement("deptName")]
        public string DepName { get; set; }
        [XmlElement("parentId")]
        public string ParentId { get; set; }
        [XmlElement("description")]
        public string Description { get; set; }
    }
}
